package com.lianxian.xindong.me.mvp.ui.adapter;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.hxb.library.base.BaseHolder;
import com.hxb.library.base.DefaultAdapter;
import com.lianxian.xindong.commonres.weight.SquareImageView;
import com.lianxian.xindong.me.R;
import com.lianxian.xindong.me.R2;
import com.lianxian.xindong.me.mvp.ui.holder.MyVisitorItemHolder;

import java.util.List;

import butterknife.BindView;

public class MyVisitorAdapter extends DefaultAdapter<Object> {

    public MyVisitorAdapter(List<Object> infos) {
        super(infos);
    }

    @Override
    public BaseHolder<Object> getHolder(View v, int viewType) {
        return new MyVisitorItemHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_my_visitor;
    }
}
